# See the build system documentation in IDF programming guide
# for more information about component CMakeLists.txt files.

file(GLOB_RECURSE core_sources 
        main.cpp
        ../../core/*.cpp
        ../../core/*.hpp 
        ../../core/*.c 
        ../../core/*.h
        )

idf_component_register(
        SRCS  ${core_sources}        # list the source files of this component
        INCLUDE_DIRS        # optional, add here public include directories
        PRIV_INCLUDE_DIRS   # optional, add here private include directories
        REQUIRES            # optional, list the public requirements (component names)
        PRIV_REQUIRES       # optional, list the private requirements
)

target_compile_options(${COMPONENT_LIB} PRIVATE
        -Wno-unused-parameter
        -Wno-unknown-pragmas
        -Wno-reorder
        -Wno-unused-variable
        -Wno-type-limits
        -Wno-deprecated-declarations
)
